import Vue from 'vue'
import App from './App'

Vue.config.productionTip = false

App.mpType = 'app'

// 引入全局uView
import uView from 'uview-ui'
Vue.use(uView);
import store from '@/store';
let vuexStore = require("@/store/$u.mixin.js");
Vue.mixin(vuexStore);
const app = new Vue({
	store,
	...App
});
import utils from '@/common/utils';
// http拦截器，此为需要加入的内容，如果不是写在common目录，请自行修改引入路径
import httpInterceptor from '@/common/http.interceptor.js';
import httpApi from '@/common/http.api.js';
Vue.use(httpInterceptor, app);
Vue.use(utils, app);
Vue.use(httpApi, app);
app.$mount();
